package com.yeyks.vip.dal.dao;

import com.yeyks.common.param.member.MemberCardSellRelationDownQueryParam;
import com.yeyks.vip.dal.domain.MemberCardSellRelation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 销售关系记录 Mapper 接口
 * </p>
 *
 * @author yun
 * @since 2019-10-10
 */
public interface MemberCardSellRelationMapper extends BaseMapper<MemberCardSellRelation> {

    /**
     * 分页查询
     *
     * @param map
     * @return
     */
    List<MemberCardSellRelation> queryByParam(Map<String, Object> map);

    /**
     * 查询行数
     *
     * @param map
     * @return
     */
    int queryCount(Map<String, Object> map);

    /**
     * 导出查询条件数据
     *
     * @param param 输入条件
     * @return 返回结果
     */
    List<MemberCardSellRelation> queryByDownLoadParam(@Param("param") MemberCardSellRelationDownQueryParam param);


}
